import HttpRequest from "../../utils/HttpRequest"


//获取一周的黄金趋势图
export function getGoodDay() {

	return HttpRequest('/gold/goldData/getLastWeekGoldDataList', {})
}
//获取一个月的黄金
export function getGoodYue() {

	return HttpRequest('/gold/goldData/getLastMonthGoldDataList', {})
}
//获取半年的数据
export function getGoodBan() {

	return HttpRequest('/gold/goldData/getLastHalfYearGoldDataList', {})
}
//获取一年的数据
export function getGoodNian() {

	return HttpRequest('/gold/goldData/getLastYearGoldDataList', {})
}
//获取当前黄金实时数据
export function getGoodNow() {

	return HttpRequest('/gold/goldData/getGoldtNowData', {})
}
//pages/riches/gold  获取热门推荐

export function getHotGold() {

	return HttpRequest('/gold/goldInfo/getGoldHotProduct', {})
}
// 获取新品推荐
export function getGoldNewProduct() {

	return HttpRequest('/gold/goldInfo/getGoldNewProduct', {})
}
//根据id查询黄金数据 一周的
export function getGoldProductNowData(id) {

	return HttpRequest('/gold/goldProductData/getGoldProductNowData', {data:id})
}
//黄金一周的数据
export function getGoldProductLastWeekGoldDataList(id){
	return HttpRequest('/gold/goldProductData/getGoldProductLastWeekGoldDataList',{data:id})
}
//黄金一月数据
export function getGoldProductLastMonthGoldDataList(id){
	return HttpRequest('/gold/goldProductData/getGoldProductLastMonthGoldDataList',{data:id})
}
//黄金半年数据
export function getGoldProductLastHalfYearGoldDataList(id){
	return HttpRequest('/gold/goldProductData/getGoldProductLastHalfYearGoldDataList',{data:id})
}
//黄金一年的数据
export function getGoldProductLastYearGoldDataList(id){
	return HttpRequest('/gold/goldProductData/getGoldProductLastYearGoldDataList',{data:id})
}